﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AuthorityRoleAdd.aspx.cs" Inherits="park.System_Manager.AuthorityRoleAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加角色</title>
    <script src="../load.js" type="text/javascript"></script>
    <style type="text/css">
    
    #ul_Authority{ list-style:none; padding:0; margin:0;}
    #ul_Authority li{ list-style:none; padding:5px; width:100px; float:left;}
    
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="content_box">
        <div class="m_title"><span>添加角色权限</span></div>
        <div class="form_main">
            <table width="500" border="0">
                <tr>
                    <td class="td_name">角色名:</td>
                    <td>                        
                        <asp:TextBox ID="txtRoleName" runat="server" CssClass="text"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td_name">权限:</td>
                    <td>
                        <ul id="ul_Authority">
                            
                        </ul>
                        <script id="full_Authority" type="text/x-jquery-tmpl"><li><label><input type="checkbox" id="cbx_${id}" value="${id}" onclick="GetSelectedAuthority()" />${name}</label></li></script>
                    </td>
                </tr>
            </table>
            <div class="btn_box">
                <asp:LinkButton ID="btnSave" runat="server" CssClass="btn02_bn" onclick="btnSave_Click">确认</asp:LinkButton>                
                <a id="btnCancel" href="#" class="btn03_bn">取消</a>
            </div>
        </div>
    </div>
    <div>
        <asp:HiddenField ID="hdf_SelectedAuthority" runat="server" />
        <div id="test"></div>
    </div>
    </form>
</body>
</html>
